function uploadImage() {
    // $('#uploadForm')
    let file = document.getElementById("imageFile").files[0];    // 取到上传的文件
    let formData = new FormData();  // 把表单直接使用ajax的方式传递
    formData.append("imageFile", file);

    $.ajax({
        url: "/upload/image",
        method: "post",
        data: formData,
        contentType: false,
        processData: false,
        success: function(resp) {
            console.log(resp);
            if (resp.code === OK) {
                $("#image").attr("src",resp.message);
            }
        },
        error: function() {
            console.log("失败");
        }
    })
}